<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>王者荣耀竞猜管理平台</title>
    <link rel="stylesheet" type="text/css"
          href="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css"
          href="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/themes/icon.css">
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/jquery.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/jquery.easyui.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/static/jquery-easyui-1.5.3/locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
<div align="center">
    <form id="ff" method="post" action="/userInfo/update" enctype="multipart/form-data">
        <input type="hidden" name="fdId" value="${userInfo.fdId}">
        <table cellpadding="5">
            <tr>
                <td>用户昵称：</td>
                <td><span style="font-weight: bold;font-size: 16px">${userInfo.fdNickname}</span></td>
            </tr>
            <tr>
                <td>用户类型：</td>
                <td><c:if test="${userInfo.fdStatus == 1}">
                    <span style="font-weight: bold;font-size: 16px">系统用户</span>
                </c:if>
                    <c:if test="${userInfo.fdStatus == 0}">
                        <span style="font-weight: bold;font-size: 16px">普通用户</span>
                    </c:if>
                </td>
            </tr>
            <tr>
                <td>用户头像：</td>
                <td>
                    <img src="${userInfo.fdAvatarUrl}" alt="用户头像" title="用户头像" width="100px" height="100px">
                </td>
            </tr>
            <tr>
                <td>用户性别：</td>
                <td><c:if test="${userInfo.fdStatus == 1}">
                    <span style="font-weight: bold;font-size: 16px">男</span>
                </c:if>
                    <c:if test="${userInfo.fdStatus == 0}">
                        <span style="font-weight: bold;font-size: 16px">女</span>
                    </c:if>
                </td>
            </tr>
            <tr>
                <td>密保邮箱：</td>
                <td><span style="font-weight: bold;font-size: 16px">${userInfo.fdEmail}</span></td>
            </tr>
            <tr>
                <td>用户手机：</td>
                <td><span style="font-weight: bold;font-size: 16px">${userInfo.fdMobile}</span></td>
            </tr>
            <tr>
                <td>所属代理商：</td>
                <td><span style="font-weight: bold;font-size: 16px">${userInfo.fdMerchantName}</span>
                </td>
            </tr>
            <tr>
                <td>用户状态：</td>
                <td>
                    <c:if test="${userInfo.fdStatus == 1}">
                        <span style="font-weight: bold;font-size: 16px">正常</span>
                    </c:if>
                    <c:if test="${userInfo.fdStatus == 0}">
                        <span style="font-weight: bold;font-size: 16px">禁用</span>
                    </c:if>
                </td>
            </tr>
            <tr>
                <td>推荐用户推荐码：</td>
                <td><span style="font-weight: bold;font-size: 16px">${userInfo.fdRecommendCode}</span></td>
            </tr>
            <tr>
                <td>用户推荐码：</td>
                <td><span style="font-weight: bold;font-size: 16px">${userInfo.fdMyCode}</span></td>
            </tr>
            <tr>
                <td>用户角色：</td>
                <td><span style="font-weight: bold;font-size: 16px">${userInfo.fdRoleName}</span>
                </td>
            </tr>
            <tr>
                <td>当日下注总额：</td>
                <td><span style="font-weight: bold;font-size: 16px;color: #CC2222">${userInfo.today}</span></td>
            </tr>
            <tr>
                <td>当日盈亏：</td>
                <td><span style="font-weight: bold;font-size: 16px;color: #CC2222">${userInfo.todayLose}</span></td>
            </tr>
            <tr>
                <td>当月下注总额：</td>
                <td><span style="font-weight: bold;font-size: 16px;color: #CC2222">${userInfo.mon}</span></td>
            </tr>
            <tr>
                <td>当月盈亏：</td>
                <td><span style="font-weight: bold;font-size: 16px;color: #CC2222">${userInfo.monLose}</span></td>
            </tr>
        </table>
    </form>
    <div style="text-align:center;padding:5px">
        <a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="closeWin()">关闭</a>
    </div>
</div>
</body>
</html>
